package com.xmall.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmall.auth.entity.SysAdminPermissionRelation;

/**
 * <p>
 * 后台用户和权限关系表(除角色中定义的权限以外的加减权限) 服务类
 * </p>
 *
 * @author liuzh
 * @since 2020-06-14
 */
public interface ISysAdminPermissionRelationService extends IService<SysAdminPermissionRelation> {
        boolean saveSysAdminPermissionRelation(SysAdminPermissionRelation sysAdminPermissionRelation);

        boolean updateSysAdminPermissionRelation(Long id, SysAdminPermissionRelation sysAdminPermissionRelation);

        boolean deleteSysAdminPermissionRelation(Long id);

        SysAdminPermissionRelation getSysAdminPermissionRelation(Long id);
}
